package com.mei.demo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mei.demo.dao.CityDao;
import com.mei.demo.domain.City;
import com.mei.demo.service.CityService;

@Service
public class CityServiceImpl implements CityService {

    @Autowired
    private CityDao cityDao;

    @Override
    public City browse(Long id) {
        return cityDao.browse(id);
    }

    @Override
    public void insert(City city) {
        cityDao.insert(city);
    }

    @Override
    public void update(City city) {
        cityDao.update(city);
    }

    @Override
    public void delete(Long id) {

    }

}